<div class="row-fluid">
    <div class="image-wrapper" style="width: 500px; margin: 0 auto 20px;">
        <?php echo $this->Html->image('app/logo.png',array('height'=>'450px','width'=>'450px')); ?>
    </div>
</div>
<?php echo $this->Form->create('StudentUser', array('id' => 'form-signin', 'class' => 'form-signin', 'inputDefaults' => array('label' => false,'div' => false)));?>
<?php
$flash_msg = $this->Session->read('Message');
if(isset($flash_msg['flash'])){
    ?>
    <div id="loginmsg" style="">
        <?php echo $this->Message->msg('Login',$this->Session->flash(),'error'); ?>
    </div>
<?php
}
?>
<h4 class="form-signin-heading">Please enter username and email or cellphone to verify</h4>
<?php echo $this->Form->input('username', array('id'=>'username', 'class' => 'input-block-level', 'required'=>'','placeholder'=>'Username','div' => false, 'label' => false)); ?>
<?php echo $this->Form->input('email', array('id'=>'email', 'class' => 'input-block-level','placeholder'=>'you@example.com','div' => false, 'label' => false)); ?>
<?php echo $this->Form->input('cellphone', array('id'=>'cellphone', 'class' => 'input-block-level','placeholder'=>'233266352282','div' => false, 'label' => false)); ?>
<button class="btn btn-large btn-primary" type="submit">Verify</button>
<?php echo $this->Form->end();?>

<script type="text/javascript">
    $(document).ready(function () {
        $("#cellphone").mask("999999999999");
        //$("#date_of_birth").mask("9999-99-99");
    });
</script>